package com.example.eduservice.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.common.commonsutils.R;
import com.example.eduservice.entity.EduTeacher;
import com.example.eduservice.entity.vo.EduTeacherPageVO;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @Author:tjf
 * @Description:
 */
public interface EduTeacherService extends IService<EduTeacher> {
    R findTeacherByConditionForPage(Integer current, Integer limit, EduTeacherPageVO pageVO);

    List<EduTeacher> queryPopularTeachers();

    HashMap<String, Object> queryTeacherListForLimit(Page<EduTeacher> eduTeacherPage);
}

